/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kwikMart.Controller;

import com.kwikMart.business.HelperEJBLocal;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author WIL
 */
@ManagedBean
@RequestScoped
public class CacheHelperBean {
    @EJB
    private HelperEJBLocal helperEJB;

    /**
     * Creates a new instance of CacheHelperBean
     */
    public CacheHelperBean() {
    }
    public void clearCache(){
        helperEJB.limpiarCache();
    }
}
